<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://shiro.apache.org/tags" prefix="shiro"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%
	pageContext.setAttribute("APP_PATH", request.getContextPath());
%>

<title>导航菜单</title>
<link rel="icon" type="image/x-icon"
	href="${APP_PATH }/static/images/runner.ico" />

<script type="text/javascript"
	src="${APP_PATH }/static/js/jquery.js"></script>
<link type="text/css" rel="stylesheet"
	href="${APP_PATH }/static/css/blue/menu.css" />
<script language="JavaScript" src="${APP_PATH }/static/js/menu.js"></script>
</head>
<body style="margin: 0">
	<div id="Menu">
		<ul id="MenuUl">
			<!-- 权限管理 -->
			<shiro:hasRole name="admin">
				<li class="level1">
					<div onClick="menuClick(this)" class="level1Style">
						<img src="${APP_PATH }/static/css/images/MenuIcon/FUNC20001.gif"
							class="Icon" /> 权限管理
					</div>
					<ul style="display: none;" class="MenuLevel2">
						<li class="level2">
							<div class="level2Style">
								<img
									src="${APP_PATH }/static/css/images/MenuIcon/menu_arrow_single.gif" />
								<a href="${APP_PATH }/shiroController/userManage" target="right">用户管理</a>
							</div>
						</li>
						<li class="level2">
							<div class="level2Style">
								<img
									src="${APP_PATH }/static/css/images/MenuIcon/menu_arrow_single.gif" />
								<a href="${APP_PATH }/shiroController/roleManage" target="right">角色资源管理</a>
							</div>
						</li>
					</ul>
				</li>
			</shiro:hasRole>
			<!-- 企业管理 -->
			<shiro:hasRole name="user">
				<li class="level1">
					<div onClick="menuClick(this);" class="level1Style">
						<img src="${APP_PATH }/static/css/images/MenuIcon/FUNC20064.gif"
							class="Icon" /> 企业管理
					</div>
					<ul style="display: none;" class="MenuLevel2">
						<shiro:hasRole name="admin">
							<li class="level2">
								<div onClick="subMenuClick(this);" class="level2Style">
									<img
										src="${APP_PATH }/static/css/images/MenuIcon/menu_arrow_close.gif" />
									<a href="${APP_PATH }/companyController/companyManage" target="right">企业信息</a>
								</div>
							</li>
						</shiro:hasRole>
						<shiro:hasRole name="user">
							<li class="level2">
								<div class="level2Style">
									<img
										src="${APP_PATH }/static/css/images/MenuIcon/menu_arrow_single.gif" />
									<a target="right" href="${APP_PATH}/companyController/companyDetail/0">企业详情</a>
								</div>
							</li>
						
							<li class="level2">
								<div class="level2Style">
									<img
										src="${APP_PATH }/static/css/images/MenuIcon/menu_arrow_single.gif" />
									<a target="right" href="${APP_PATH}/companyController/employeeManage">员工管理</a>
								</div>
							</li>
						</shiro:hasRole>
					</ul>
				</li>
			</shiro:hasRole>
			<!-- 订单管理 -->
			<shiro:hasRole name="user">
				<li class="level1">
					<div onClick="menuClick(this);" class="level1Style">
						<img src="${APP_PATH }/static/css/images/MenuIcon/FUNC20070.gif"
							class="Icon" /> 订单管理
					</div>
					<ul style="display: none;" class="MenuLevel2">
						<li class="level2">
							<div class="level2Style">
								<img
									src="${APP_PATH }/static/css/images/MenuIcon/menu_arrow_single.gif" />
								<a target="right" href="${APP_PATH}/orderController/planeOrderList">飞机票订单</a>
							</div>
						</li>
						<li class="level2">
							<div onClick="subMenuClick(this);" class="level2Style">
								<img
									src="${APP_PATH }/static/css/images/MenuIcon/menu_arrow_close.gif" />
								<a target="right" href="${APP_PATH}/orderController/trainOrderList">火车票订单</a>
							</div>
						</li>
						<li class="level2">
							<div onClick="subMenuClick(this);" class="level2Style">
								<img
									src="${APP_PATH }/static/css/images/MenuIcon/menu_arrow_close.gif" />
								<a target="right" href="${APP_PATH}/orderController/hotelOrderList">酒店订单</a>
							</div>
						</li>
					</ul>
				</li>
			</shiro:hasRole>
			<%-- <!-- 报表管理 -->
			<li class="level1">
				<div onClick="menuClick(this);" class="level1Style">
					<img src="${APP_PATH }/static/css/images/MenuIcon/FUNC261000.gif"
						class="Icon" /> 报表管理
				</div>
				<ul style="display: none;" class="MenuLevel2">
					<li class="level2">
						<div class="level2Style">
							<img
								src="${APP_PATH }/static/css/images/MenuIcon/menu_arrow_single.gif" />
							<a target="right" href="#">飞机票报表</a>
						</div>
					</li>
					<li class="level2">
						<div class="level2Style">
							<img
								src="${APP_PATH }/static/css/images/MenuIcon/menu_arrow_single.gif" />
							<a target="right" href="#">火车票报表</a>
						</div>
					</li>
					<li class="level2">
						<div class="level2Style">
							<img
								src="${APP_PATH }/static/css/images/MenuIcon/menu_arrow_single.gif" />
							<a target="right" href="#">酒店报表</a>
						</div>
					</li>
				</ul>
			</li> --%>
			<!-- 审批管理 -->
			<shiro:hasRole name="admin">
				<li class="level1">
					<div onClick="menuClick(this);" class="level1Style">
						<img src="${APP_PATH }/static/css/images/MenuIcon/FUNC20057.gif"
							class="Icon" /> 审批管理
					</div>
					<ul style="display: none;" class="MenuLevel2">
						<li class="level2">
							<div class="level2Style">
								<img
									src="${APP_PATH }/static/css/images/MenuIcon/menu_arrow_single.gif" />
								<a target="right" href="${APP_PATH}/operaController/planeOperaList">飞机票审批</a>
							</div>
						</li>
						<li class="level2">
							<div class="level2Style">
								<img
									src="${APP_PATH }/static/css/images/MenuIcon/menu_arrow_single.gif" />
								<a target="right" href="${APP_PATH}/operaController/trainOperaList">火车票审批</a>
							</div>
						</li>
						<li class="level2">
							<div class="level2Style">
								<img
									src="${APP_PATH }/static/css/images/MenuIcon/menu_arrow_single.gif" />
								<a target="right" href="${APP_PATH}/operaController/hotelOperaList">酒店审批</a>
							</div>
						</li>
					</ul>
				</li>
			</shiro:hasRole>
			<!-- 个人设置 -->
			<li class="level1">
				<div onClick="menuClick(this);" class="level1Style">
					<img src="${APP_PATH }/static/css/images/MenuIcon/FUNC20077.gif"
						class="Icon" /> 个人设置
				</div>
				<ul style="display: none;" class="MenuLevel2">
					<li class="level2">
						<div class="level2Style">
							<img
								src="${APP_PATH }/static/css/images/MenuIcon/menu_arrow_single.gif" />
							<a target="right" href="${APP_PATH}/adminController/adminInfo">个人信息</a>
						</div>
					</li>
					<li class="level2">
						<div class="level2Style">
							<img
								src="${APP_PATH }/static/css/images/MenuIcon/menu_arrow_single.gif" />
							<a target="right" href="${APP_PATH}/adminController/editPassword">密码修改</a>
						</div>
					</li>
				</ul>
			</li>
		</ul>
	</div>
</body>

</html>